<?php


namespace app\api\controller;

/**
 * 功能说明:设备经纬度类
 * Company:物联网应用专家---成都亿佰特电子科技有限公司
 * User: 郑文军
 * Time: 2021-10-11 17:35
 * version：1.0
 */
class Address extends Base
{
    public function getList()
    {
        $param = request()->param();
        $res = db("device_address")
            ->where(['did' => $param['id'],'uid'=>$this->accessData['uid']])
            ->order("id desc")
            ->paginate(100,false);
        suc($res);
    }
}